package com.iflytek.ci.qams.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Transactional;

import com.iflytek.ci.qams.dao.PriopityDao;
import com.iflytek.ci.qams.domain.Priopity;
import com.iflytek.ci.qams.service.PriopityService;

@Service("PriopityService")
@Transactional(readOnly = true, isolation = Isolation.READ_UNCOMMITTED)
public class PriopityServiceImpl implements PriopityService {

	@Autowired
	PriopityDao dao;

	@Override
	public List<Priopity> priopity() {
		return dao.priopity();
	}

	@Override
	public Priopity get_priopity(long p_id) {
		return dao.get_priopity(p_id);
	}
}
